package com.gxkj.projects.myshopx.enums;

/**
 * Created by xubaoyong on 2016/4/3.
 */
public enum AttributeTypeEnum {
    //唯一属性 单选属性 复选属性
    SINGLE( "唯一"),RADIO( "单选"),CHECKBOX( "复选");

    private String name;

    AttributeTypeEnum(String name){
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        AttributeTypeEnum.values();

        System.out.printf(" AttributeTypeEnum.CHECKBOX.name()="+ AttributeTypeEnum.CHECKBOX.name());
        System.out.printf(" AttributeTypeEnum.CHECKBOX.getName()="+ AttributeTypeEnum.CHECKBOX.getName());
    }
}
